package com.project.rfidpage.service;

import com.project.rfidpage.dto.RidMaintenanceDto;
import com.project.rfidpage.dto.RidTidMaintenanceParam;
import com.project.rfidpage.dto.RidTidMaintenanceRecordDto;
import com.project.rfidpage.entity.RidMaintenance;
import com.project.rfidpage.entity.RidMaintenanceRecord;

import java.util.List;

public interface RidMaintenanceService {

    List<RidMaintenanceDto> getListForPage(RidTidMaintenanceParam param);

    List<RidTidMaintenanceRecordDto> getRecordListForPage(RidTidMaintenanceParam param);

    List<RidMaintenance> getById(Long id);

    void insert(RidMaintenance entity);

    void update(RidMaintenance entity, Long idBefore);

    void insertRecord(RidMaintenanceRecord entity);
}
